(function() {"use strict";var __module = CC_EDITOR ? module : {exports:{}};var __filename = 'preview-scripts/assets/game/script/playerManager.js';var __require = CC_EDITOR ? function (request) {return cc.require(request, require);} : function (request) {return cc.require(request, __filename);};function __define (exports, require, module) {"use strict";
cc._RF.push(module, '5abc5w9mw1LQ4nMtJOjaNP1', 'playerManager', __filename);
// game/script/playerManager.js

"use strict";

var GLB = require("Glb");
cc.Class({
    extends: cc.Component,

    properties: {
        player: cc.Node,
        rival: cc.Node
    },

    onLoad: function onLoad() {
        Game.PlayerManager = this;
        this.player = this.player.getComponent("player");
        this.player.init(GLB.userInfo.id);
        this.rival = this.rival.getComponent("rival");
        this.rival.init(GLB.playerUserIds[1]);
    }
});

cc._RF.pop();
        }
        if (CC_EDITOR) {
            __define(__module.exports, __require, __module);
        }
        else {
            cc.registerModuleFunc(__filename, function () {
                __define(__module.exports, __require, __module);
            });
        }
        })();
        //# sourceMappingURL=playerManager.js.map
        